-
Notifications
You must be signed in to change notification settings - Fork 4k
docs(firebase_auth): Removed duplicates; fixed typos; removed "unnecessary use of a null check" #16815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I am not sure why some tests failed to be honest. I would like a help from somebody, I just changed the text in the docs mostly |
@@ -61,7 +61,7 @@ class FirebaseAuth extends FirebasePluginPlatform { | |||
/// [idTokenChanges] or [userChanges] to subscribe to updates. | |||
User? get currentUser { | |||
if (_delegate.currentUser != null) { | |||
return User._(this, _delegate.currentUser!); | |||
return User._(this, _delegate.currentUser); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this change. See analyser CI: https://github.com/firebase/flutterfire/actions/runs/12146687849/job/34223264511?pr=16815#step:5:126
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@russellwheatley done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last couple of bits and we can get this in
/// - **operation-not-allowed**: | ||
/// - Thrown if email/password accounts are not enabled. Enable | ||
/// email/password accounts in the Firebase Console, under the Auth tab. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be reinstated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reinstated
...ase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart
Outdated
Show resolved
Hide resolved
sorry, idk what I was thinking, those are clearly not duplicates 😰😰 |
Description
Docs:
Fixing typos, removing duplicates
Code:
Removed the "unnecessary use of a null check". Actually, it wasn't me but a compiler forced me to do it!
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).melos run analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?